<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	 <#include "include/common.header.ftl" >
    <script type="text/javascript" src="/js/cdkeySend.js"></script>
	<link rel="stylesheet" type="text/css" href="/css/base.css" media="screen">
	<link rel="stylesheet" type="text/css" href="/css/button.css" media="screen">
	
</head>
<body style="margin-top:100px">
	<div class="button orange" id="lxc"  style="width:350px;height:70px" margin-left:0px><div class="shine"></div><font size="12" face="verdana" color="orange" >会员兑换码赠送</font> </div>
	<div class="button purple" id="lxc2" style="width:250px;height:70px" margin-left:0px><div class="shine"></div><font size="12" face="verdana" color="purple">优惠券赠送</font> </div>
<div style="text-align:center;clear:both;">
</div>
<div id="dlg" class="easyui-dialog" style="width:700px;height:450px;padding: 10px 20px"
     closed="true" buttons="#dlg-buttons">
        <input type="text" id="tag" name="tag" value="0"  hidden="true"/>
    <form id="fm" method="post">
        <table cellspacing="8px">
            <tr>
                <td>生成兑换码：</td>
                <td><input type="text" id="cdkey" name="cdkey" class="easyui-validatebox " onclick="butt()" required="true" /></td>
            </tr>
            <tr>
               	<td>使用用户：</td>
                <td><input type="text" id="user" name="user" class="easyui-validatebox" /></td>
            </tr>
            <tr>
               	  <td>兑换额度：</td>
                <td><input type="text"   id="count" name="count" class="easyui-validatebox" required="true" /></td>
            </tr>
        </table>
    </form>
</div>

<div id="dlg2" class="easyui-dialog" style="width:700px;height:450px;padding: 10px 20px"
     closed="true" buttons="#dlg-buttons2">
        <input type="text" id="tag" name="tag" value="0"  hidden="true"/>
    <form id="fm2" method="post">
        <table cellspacing="8px">
            
            <tr>
                <td>优惠券类型：</td>
				<td>
                	<select class="easyui-combobox" id="serviceType" name="serviceType" style="width: 175px" class="easyui-validatebox" required="true" >
                        <option value="日常保洁">日常保洁</option>
                        <option value="沙发护理">沙发护理</option>
                        <option value="开荒保洁">开荒保洁</option>
                        <option value="家电清洗">家电清洗</option>
                        <option value="地板护理">地板护理</option>
                        <option value="擦玻璃">擦玻璃</option>
                        <option value="通用">通用</option>
                    </select>
                	</td>             
                	<td>优惠券额度：</td>
					<td>
                	<select class="easyui-combobox" id="discountAmount" name="discountAmount" style="width: 175px" class="easyui-validatebox" required="true" >
                        <option value="5">优惠5元</option>
                        <option value="10">优惠10元</option>
                        <option value="20">优惠20元</option>
                    </select>
                	</td>          
            </tr>
            <tr>
               	<td>优惠券条件：</td>
               	<td>
                	<select class="easyui-combobox" id="state" name="state" style="width: 175px" class="easyui-validatebox" required="true" >
                        <option value="0">无门槛使用</option>
                        <option value="100">满100使用</option>
                        <option value="200">满200使用</option>
                    </select>
                </td>                	
                <td>开始时间：</td>
                <td><input type="text" id="activationTime" name="activationTime" class="easyui-datetimebox" required="true"/></td>
            </tr>
            <tr>
               		<td>结束时间：</td>
                <td><input type="text" id="finallyTime" name="finallyTime" class="easyui-datetimebox" required="true"/></td>
                           		<td>*给所有人赠送</td>
            
            </tr>
         
        </table>
    </form>
</div>



<div id="dlg-buttons">
    <a href="javascript:saveSaleChance()" class="easyui-linkbutton" iconCls="icon-ok">确定</a>
    <a href="javascript:closeSaleChanceDialog()" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
</div>
<div id="dlg-buttons2">
    <a href="javascript:saveSaleChance2()" class="easyui-linkbutton" iconCls="icon-ok">确定</a>
    <a href="javascript:closeSaleChanceDialog2()" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
</div>
</body>
</html>